From: Colin Walters Date: Fri, 10 Dec 2010 20:03:26 +0000 (-0500) Subject: Explicitly specify JS version X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~9384 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9f39ce5d278e30db5f6f88103a84b734eb3ee3a7;p=gnome-shell.git Explicitly specify JS version See bug 636652 for rationale. https://bugzilla.gnome.org/show_bug.cgi?id=636983 --- diff --git a/src/gnome-shell-plugin.c b/src/gnome-shell-plugin.c index 9d96303c0..69e63a272 100644 --- a/src/gnome-shell-plugin.c +++ b/src/gnome-shell-plugin.c @@ -364,7 +364,10 @@ gnome_shell_plugin_start (MetaPlugin *plugin) shell_js = JSDIR; search_path = g_strsplit(shell_js, ":", -1); - shell_plugin->gjs_context = gjs_context_new_with_search_path(search_path); + shell_plugin->gjs_context = g_object_new (GJS_TYPE_CONTEXT, + "search-path", search_path, + "js-version", "1.8", + NULL); g_strfreev(search_path); /* Disable the gnome-volume-control debug */